package com.yaoyong.yy_demo.module.mail;

import java.util.Map;

public class Email {
    /**
     * 发件人
     */
    private String from;
    /**
     * 收件人
     */
    private String[] to;
    /**
     * 主题
     */
    private String subject;
    /**
     * 内容
     */
    private String content;
    /**
     * 附件路径
     */
    private String attachmentPath;
    /**
     * 图片路径
     */
    private String[] picPath;
    /**
     * 图片内联id
     */
    String[] picIds;
    /**
     * 模板路径
     */
    private String templatePath;
    /**
     * 模板字符串映射内容
     */
    private Map<String, Object> map;

    public String getFrom() {
        return from;
    }

    public Email setFrom(String from) {
        this.from = from;
        return this;
    }

    public String[] getTo() {
        return to;
    }

    public Email setTo(String[] to) {
        this.to = to;
        return this;
    }

    public String getSubject() {
        return subject;
    }

    public Email setSubject(String subject) {
        this.subject = subject;
        return this;
    }

    public String getContent() {
        return content;
    }

    public Email setContent(String content) {
        this.content = content;
        return this;
    }

    public String getAttachmentPath() {
        return attachmentPath;
    }

    public Email setAttachmentPath(String attachmentPath) {
        this.attachmentPath = attachmentPath;
        return this;
    }

    public String[] getPicPath() {
        return picPath;
    }

    public Email setPicPath(String[] picPath) {
        this.picPath = picPath;
        return this;
    }

    public String[] getPicIds() {
        return picIds;
    }

    public Email setPicIds(String[] picIds) {
        this.picIds = picIds;
        return this;
    }

    public String getTemplatePath() {
        return templatePath;
    }

    public Email setTemplatePath(String templatePath) {
        this.templatePath = templatePath;
        return this;
    }

    public Map<String, Object> getMap() {
        return map;
    }

    public Email setMap(Map<String, Object> map) {
        this.map = map;
        return this;
    }
}
